<?php
namespace app\html\controller;

use app\manage\controller\BasicController;
use think\Session;
use thinkcms\auth\Auth;
use think\Db;

class Html extends BasicController
{
    public function __construct()
    {
        parent::__construct();
    }

    public function teacherinfo(){
        $auth = new Auth();
        $user = $auth::is_login();
        $rolejiaowuzu=Auth::checkRole('教务组',$user['uid']);
        return $this->fetch('teacherinfo',['rolejiaowuzu'=>$rolejiaowuzu]);
    }

    public function subject(){
        return $this->fetch('subject');
    }

	
	public function zidian(){
        return $this->fetch('zidian');
    }

    public function slider(){
        return $this->fetch('slider');
    }

    public function Record(){
        return $this->fetch('record/record');
    }
    public function Chance(){
        return $this->fetch('chance/chance');
    }
}